package com.hckjsec.cloud.domain;

import com.hckjsec.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 机构简介分对象 applets_public_mechanism_detail
 * 
 * @author cyt
 * @date 2021-09-03
 */
public class AppletsPublicMechanismDetail implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 机构简介主表id */
    @Excel(name = "机构简介主表id")
    private Long mechanismId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    public AppletsPublicMechanismDetail() {
    }

    public AppletsPublicMechanismDetail(Long mechanismId) {
        this.mechanismId = mechanismId;
    }

    public void setMechanismId(Long mechanismId)
    {
        this.mechanismId = mechanismId;
    }

    public Long getMechanismId() 
    {
        return mechanismId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("mechanismId", getMechanismId())
            .append("deptId", getDeptId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .toString();
    }
}
